package com.quasar.hpatient.model.medicalmodel;

import java.io.Serializable;
import java.util.List;

/**
 * name : lishuai
 * time : 2017/11/17
 * title:
 */

public class QueryAllPrescription implements Serializable {


    /**
     * msgCode : 0x00000000
     * list : [[{"plId":10,"prescriptionEditHistoryList":[{"eidtMessage":"2017-11-17 20:07:21新增药品:重组抗CD25人源化单克隆抗体（健尼哌）规格:25mg/5ml/瓶","plId":10,"mid":168,"editTime":"2017-11-17 20:07:28","id":20},{"eidtMessage":"2017-11-17 20:08:54编辑药品:重组抗CD25人源化单克隆抗体（健尼哌）规格:25mg/5ml/瓶","plId":10,"mid":168,"editTime":"2017-11-17 20:09:02","id":21}],"typeName":"","mid":168,"useTypeId":"1","packages":"瓶","periodBegin":"2017-11-17 00:00:00","prescriptionDoseDetail":[{"plId":10,"detailId":3,"useTime":"1970-01-01 15:00:00","id":45,"useCount":1},{"plId":10,"detailId":2,"useTime":"1970-01-01 12:00:00","id":44,"useCount":2},{"plId":10,"detailId":1,"useTime":"1970-01-01 09:00:00","id":43,"useCount":3}],"userPeriodId":3,"useInterval":1,"dose":"","doseName":"25mg/5ml/瓶","prescriptionIndex":{"doctorId":3,"patientId":5,"editType":2,"editTime":"2017-11-17 20:09:01","id":10},"name":"","typeId":0,"id":10,"mName":"重组抗CD25人源化单克隆抗体（健尼哌）","useDesc":"","periodEnd":"2017-11-17 00:00:00"}]]
     */

    private String msgCode;
    private List<List<ListBean>> list;

    public String getMsgCode() {
        return msgCode;
    }

    public void setMsgCode(String msgCode) {
        this.msgCode = msgCode;
    }

    public List<List<ListBean>> getList() {
        return list;
    }

    public void setList(List<List<ListBean>> list) {
        this.list = list;
    }

    public static class ListBean  implements Serializable{
        /**
         * plId : 10
         * prescriptionEditHistoryList : [{"eidtMessage":"2017-11-17 20:07:21新增药品:重组抗CD25人源化单克隆抗体（健尼哌）规格:25mg/5ml/瓶","plId":10,"mid":168,"editTime":"2017-11-17 20:07:28","id":20},{"eidtMessage":"2017-11-17 20:08:54编辑药品:重组抗CD25人源化单克隆抗体（健尼哌）规格:25mg/5ml/瓶","plId":10,"mid":168,"editTime":"2017-11-17 20:09:02","id":21}]
         * typeName :
         * mid : 168
         * useTypeId : 1
         * packages : 瓶
         * periodBegin : 2017-11-17 00:00:00
         * prescriptionDoseDetail : [{"plId":10,"detailId":3,"useTime":"1970-01-01 15:00:00","id":45,"useCount":1},{"plId":10,"detailId":2,"useTime":"1970-01-01 12:00:00","id":44,"useCount":2},{"plId":10,"detailId":1,"useTime":"1970-01-01 09:00:00","id":43,"useCount":3}]
         * userPeriodId : 3
         * useInterval : 1
         * dose :
         * doseName : 25mg/5ml/瓶
         * prescriptionIndex : {"doctorId":3,"patientId":5,"editType":2,"editTime":"2017-11-17 20:09:01","id":10}
         * name :
         * typeId : 0
         * id : 10
         * mName : 重组抗CD25人源化单克隆抗体（健尼哌）
         * useDesc :
         * periodEnd : 2017-11-17 00:00:00
         */

        private int plId;
        private String typeName;
        private int mid;
        private String useTypeId;
        private String packages;
        private String periodBegin;
        private int userPeriodId;
        private int useInterval;
        private String dose;
        private String doseName;
        private PrescriptionIndexBean prescriptionIndex;
        private String name;
        private int typeId;
        private int id;
        private String mName;
        private String useDesc;
        private String periodEnd;
        private List<PrescriptionEditHistoryListBean> prescriptionEditHistoryList;
        private List<PrescriptionDoseDetailBean> prescriptionDoseDetail;

        public int getPlId() {
            return plId;
        }

        public void setPlId(int plId) {
            this.plId = plId;
        }

        public String getTypeName() {
            return typeName;
        }

        public void setTypeName(String typeName) {
            this.typeName = typeName;
        }

        public int getMid() {
            return mid;
        }

        public void setMid(int mid) {
            this.mid = mid;
        }

        public String getUseTypeId() {
            return useTypeId;
        }

        public void setUseTypeId(String useTypeId) {
            this.useTypeId = useTypeId;
        }

        public String getPackages() {
            return packages;
        }

        public void setPackages(String packages) {
            this.packages = packages;
        }

        public String getPeriodBegin() {
            return periodBegin;
        }

        public void setPeriodBegin(String periodBegin) {
            this.periodBegin = periodBegin;
        }

        public int getUserPeriodId() {
            return userPeriodId;
        }

        public void setUserPeriodId(int userPeriodId) {
            this.userPeriodId = userPeriodId;
        }

        public int getUseInterval() {
            return useInterval;
        }

        public void setUseInterval(int useInterval) {
            this.useInterval = useInterval;
        }

        public String getDose() {
            return dose;
        }

        public void setDose(String dose) {
            this.dose = dose;
        }

        public String getDoseName() {
            return doseName;
        }

        public void setDoseName(String doseName) {
            this.doseName = doseName;
        }

        public PrescriptionIndexBean getPrescriptionIndex() {
            return prescriptionIndex;
        }

        public void setPrescriptionIndex(PrescriptionIndexBean prescriptionIndex) {
            this.prescriptionIndex = prescriptionIndex;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getTypeId() {
            return typeId;
        }

        public void setTypeId(int typeId) {
            this.typeId = typeId;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getMName() {
            return mName;
        }

        public void setMName(String mName) {
            this.mName = mName;
        }

        public String getUseDesc() {
            return useDesc;
        }

        public void setUseDesc(String useDesc) {
            this.useDesc = useDesc;
        }

        public String getPeriodEnd() {
            return periodEnd;
        }

        public void setPeriodEnd(String periodEnd) {
            this.periodEnd = periodEnd;
        }

        public List<PrescriptionEditHistoryListBean> getPrescriptionEditHistoryList() {
            return prescriptionEditHistoryList;
        }

        public void setPrescriptionEditHistoryList(List<PrescriptionEditHistoryListBean> prescriptionEditHistoryList) {
            this.prescriptionEditHistoryList = prescriptionEditHistoryList;
        }

        public List<PrescriptionDoseDetailBean> getPrescriptionDoseDetail() {
            return prescriptionDoseDetail;
        }

        public void setPrescriptionDoseDetail(List<PrescriptionDoseDetailBean> prescriptionDoseDetail) {
            this.prescriptionDoseDetail = prescriptionDoseDetail;
        }

        public static class PrescriptionIndexBean {
            /**
             * doctorId : 3
             * patientId : 5
             * editType : 2
             * editTime : 2017-11-17 20:09:01
             * id : 10
             */

            private int doctorId;
            private int patientId;
            private int editType;
            private String editTime;
            private int id;

            public int getDoctorId() {
                return doctorId;
            }

            public void setDoctorId(int doctorId) {
                this.doctorId = doctorId;
            }

            public int getPatientId() {
                return patientId;
            }

            public void setPatientId(int patientId) {
                this.patientId = patientId;
            }

            public int getEditType() {
                return editType;
            }

            public void setEditType(int editType) {
                this.editType = editType;
            }

            public String getEditTime() {
                return editTime;
            }

            public void setEditTime(String editTime) {
                this.editTime = editTime;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }
        }

        public static class PrescriptionEditHistoryListBean implements Serializable{
            /**
             * eidtMessage : 2017-11-17 20:07:21新增药品:重组抗CD25人源化单克隆抗体（健尼哌）规格:25mg/5ml/瓶
             * plId : 10
             * mid : 168
             * editTime : 2017-11-17 20:07:28
             * id : 20
             */

            private String eidtMessage;
            private int plId;
            private int mid;
            private String editTime;
            private int id;

            public String getEidtMessage() {
                return eidtMessage;
            }

            public void setEidtMessage(String eidtMessage) {
                this.eidtMessage = eidtMessage;
            }

            public int getPlId() {
                return plId;
            }

            public void setPlId(int plId) {
                this.plId = plId;
            }

            public int getMid() {
                return mid;
            }

            public void setMid(int mid) {
                this.mid = mid;
            }

            public String getEditTime() {
                return editTime;
            }

            public void setEditTime(String editTime) {
                this.editTime = editTime;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }
        }

        public static class PrescriptionDoseDetailBean implements Serializable {
            /**
             * plId : 10
             * detailId : 3
             * useTime : 1970-01-01 15:00:00
             * id : 45
             * useCount : 1
             */

            private int plId;
            private int detailId;
            private String useTime;
            private int id;
            private String useCount;

            public int getPlId() {
                return plId;
            }

            public void setPlId(int plId) {
                this.plId = plId;
            }

            public int getDetailId() {
                return detailId;
            }

            public void setDetailId(int detailId) {
                this.detailId = detailId;
            }

            public String getUseTime() {
                return useTime;
            }

            public void setUseTime(String useTime) {
                this.useTime = useTime;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getUseCount() {
                return useCount;
            }

            public void setUseCount(String useCount) {
                this.useCount = useCount;
            }
        }
    }
}
